package com.jcxh.sg_exam.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName kaochang_user
 */
@TableName(value ="kaochang_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KaochangUser implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 考场id
     */
    private Integer kaochangId;

    /**
     * 姓名
     */
    private String name;


    /**
     * 工作单位
     */
    private String workUnit;

    /**
     * 身份证号
     */
    private String idNumber;

    /**
     * 电话号码
     */
    private String phone;
    /**
     * 考场名称
     */
    private String kaochangName;

    /**
     * 分数
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String score;

    /**
     * 登陆时间
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private LocalDateTime loginTime;

    /**
     * 提交时间
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private LocalDateTime submitTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}